from glob import glob
from setuptools import setup
import os
package_name = 'imu_driver'
share_dir = os.path.join("share",package_name)

setup(
    name=package_name,
    version='0.0.0',
    packages=[package_name],
    data_files=[
        ('share/ament_index/resource_index/packages',
            ['resource/' + package_name]),
        ('share/' + package_name, ['package.xml']),
         (os.path.join(share_dir, "launch"), glob(os.path.join("launch", "*.launch.py"))),
        (os.path.join(share_dir, "config"), glob(os.path.join("config", "*.yaml")))
    ],
    install_requires=['setuptools',
                      'pyserial',
                      ],
    zip_safe=True,
    maintainer='orangepi',
    maintainer_email='orangepi@todo.todo',
    description='TODO: Package description',
    license='TODO: License declaration',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'imu_serial_node = imu_driver.imu_serial_node:main'
        ],
    },
)
